package org.homeorganiser.flex.dto;


public class Book {

	private int id;
	
	private String bookname;
	private String author;
	private String comments;
	private String price;
	private String addedBy;
	
	private int publicationId;
	private int typeId;
	private int languageId;
    private int genreId;
    private int qualityId;	
	private int locationId;
	private int categoryId;
	private int subCategoryId;
	private int inventorytype;
	private int isActive;
	
	
	/**
 * 
 */
	public Book() {
	}


	/**
	 * @param bookname
	 * @param author
	 * @param comments
	 * @param price
	 * @param addedBy
	 * @param publicationId
	 * @param typeId
	 * @param languageId
	 * @param genreId
	 * @param qualityId
	 * @param locationId
	 * @param categoryId
	 * @param subCategoryId
	 * @param inventorytype
	 * @param isActive
	 */
	public Book(String bookname, String author, String comments,
			String price, String addedBy, int publicationId, int typeId,
			int languageId, int genreId, int qualityId, int locationId,
			int categoryId, int subCategoryId, int inventorytype, int isActive) {
		super();
		this.bookname = bookname;
		this.author = author;
		this.comments = comments;
		this.price = price;
		this.addedBy = addedBy;
		this.publicationId = publicationId;
		this.typeId = typeId;
		this.languageId = languageId;
		this.genreId = genreId;
		this.qualityId = qualityId;
		this.locationId = locationId;
		this.categoryId = categoryId;
		this.subCategoryId = subCategoryId;
		this.inventorytype = inventorytype;
		this.isActive = isActive;
	}


	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}


	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}


	/**
	 * @return the bookname
	 */
	public String getBookname() {
		return bookname;
	}


	/**
	 * @param bookname the bookname to set
	 */
	public void setBookname(String bookname) {
		this.bookname = bookname;
	}


	/**
	 * @return the author
	 */
	public String getAuthor() {
		return author;
	}


	/**
	 * @param author the author to set
	 */
	public void setAuthor(String author) {
		this.author = author;
	}


	/**
	 * @return the comments
	 */
	public String getComments() {
		return comments;
	}


	/**
	 * @param comments the comments to set
	 */
	public void setComments(String comments) {
		this.comments = comments;
	}


	/**
	 * @return the price
	 */
	public String getPrice() {
		return price;
	}


	/**
	 * @param price the price to set
	 */
	public void setPrice(String price) {
		this.price = price;
	}


	/**
	 * @return the addedBy
	 */
	public String getAddedBy() {
		return addedBy;
	}


	/**
	 * @param addedBy the addedBy to set
	 */
	public void setAddedBy(String addedBy) {
		this.addedBy = addedBy;
	}


	/**
	 * @return the publicationId
	 */
	public int getPublicationId() {
		return publicationId;
	}


	/**
	 * @param publicationId the publicationId to set
	 */
	public void setPublicationId(int publicationId) {
		this.publicationId = publicationId;
	}


	/**
	 * @return the typeId
	 */
	public int getTypeId() {
		return typeId;
	}


	/**
	 * @param typeId the typeId to set
	 */
	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}


	/**
	 * @return the languageId
	 */
	public int getLanguageId() {
		return languageId;
	}


	/**
	 * @param languageId the languageId to set
	 */
	public void setLanguageId(int languageId) {
		this.languageId = languageId;
	}


	/**
	 * @return the genreId
	 */
	public int getGenreId() {
		return genreId;
	}


	/**
	 * @param genreId the genreId to set
	 */
	public void setGenreId(int genreId) {
		this.genreId = genreId;
	}


	/**
	 * @return the qualityId
	 */
	public int getQualityId() {
		return qualityId;
	}


	/**
	 * @param qualityId the qualityId to set
	 */
	public void setQualityId(int qualityId) {
		this.qualityId = qualityId;
	}


	/**
	 * @return the locationId
	 */
	public int getLocationId() {
		return locationId;
	}


	/**
	 * @param locationId the locationId to set
	 */
	public void setLocationId(int locationId) {
		this.locationId = locationId;
	}


	/**
	 * @return the categoryId
	 */
	public int getCategoryId() {
		return categoryId;
	}


	/**
	 * @param categoryId the categoryId to set
	 */
	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}


	/**
	 * @return the subCategoryId
	 */
	public int getSubCategoryId() {
		return subCategoryId;
	}


	/**
	 * @param subCategoryId the subCategoryId to set
	 */
	public void setSubCategoryId(int subCategoryId) {
		this.subCategoryId = subCategoryId;
	}


	/**
	 * @return the inventorytype
	 */
	public int getInventorytype() {
		return inventorytype;
	}


	/**
	 * @param inventorytype the inventorytype to set
	 */
	public void setInventorytype(int inventorytype) {
		this.inventorytype = inventorytype;
	}


	/**
	 * @return the isActive
	 */
	public int getIsActive() {
		return isActive;
	}


	/**
	 * @param isActive the isActive to set
	 */
	public void setIsActive(int isActive) {
		this.isActive = isActive;
	}
	
	
	
	
}
